//
//  MoneyChangeVC.h
//  PearRich
//
//  Created by Jinniu on 2020/4/2.
//  Copyright © 2020 谢黎鹏. All rights reserved.
//

#import "SuperViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface MoneyChangeVC : SuperViewController

@end

NS_ASSUME_NONNULL_END
/*-(NSNumber *)requestMehtod:(NSString * )key{
    NSString * url = [NSString stringWithFormat:@"%@%@",HuiLvMain,key];
    // 1. 创建 会话管理者
    NSURL *ipURL = [NSURL URLWithString:url];
    NSData *data = [NSData dataWithContentsOfURL:ipURL];
    NSStringEncoding enc = CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030_2000);
    NSString * ipStr = [[NSString alloc] initWithData:data encoding:enc];
    VLog(@"%@",ipStr);
    NSRange range = [ipStr rangeOfString:@"\""];
    if (range.location != NSNotFound) {
        ipStr = [ipStr substringFromIndex:range.location+1];
        ipStr = [ipStr stringByReplacingOccurrencesOfString:@"\";" withString:@""];
        NSArray * arr = [ipStr componentsSeparatedByString:@","];
        if (arr.count>1) {
            NSNumber * num = [NSNumber numberWithFloat:[arr[1] floatValue]];
            return num;
        }else{
            return @(0);
        }
    }
    return @(0);
}*/
